package com.zzptc.lzh.myapp27.Service;

import com.zzptc.lzh.myapp27.entity.XinWen;

import java.util.Map;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

public interface XinWenService {
    @FormUrlEncoded
    @POST("toutiao/index")
    //第二种方法，参数过于多的情况
    Call<XinWen>getAll(@FieldMap Map<String,String>map);
}
